/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tester;

import Entity.DataObat;
import java.sql.SQLException;

/**
 *
 * @author User
 */
public class UpdateObatTesting {
    public static void main(String[] args) throws SQLException {
        DataObat obat = new DataObat();
//        obat.setNama_obat("Promag");
//        obat.setDosis("3 X sehari");
//        obat.setCara_pemakaian("makan nasi baru minum");
//        obat.setKomposisi("aspirin dan paracetamol");
//        obat.setNamaGejala("demam");
//        obat.insertObat();
        obat.GejalaView("demam");
//        System.out.println(""+obat.getId_obat());
        System.out.println(""+obat.getNamaGejala());
        System.out.println(""+obat.getNama_obat());
        System.out.println(""+obat.getDosis());
        System.out.println(""+obat.getCara_pemakaian());
        System.out.println(""+obat.getKomposisi());
    }
}
